Release 10.1A: OpenEdge Development:
Progress Dynamics Advanced Development
Other useful data object functions
The following additional functions are supported for SDOs, including functions that return index information and functions that retrieve logic procedures.
indexInformation
This
CHARACTERfunction is supported for SDOs. It returns index information for all the buffers in an SDO’s query. The indexes are separated byCHR(1). Field information is either qualified with the database and table name orCHR(2)is used as the table separator. TheINPUTparameters for this function are:
pcQuery— This parameter indicates what information is needed:plUseTableSep— ThisLOGICALparameter indicates whether the information should be returned using a special table separator. If this parameter isTRUEthen the data is returned withCHR(1)as the separator between indexes an Unknown value (?), then the returned field names are qualified; otherwise they remain as they are inpcIndexInfo.pcIndexInfo— ThisCHARACTERparameter is either a signal to use the SDO query or a string of previously retrieved information. If the parameter has the Unknown value (?),then the function uses the query as the basis for returning information. In this case, if theplUseTableSepparameter isTRUE,then the field is returned withCHR(1)andCHR(2)qualifiers. Otherwise this parameter must be the index information in the exact same format as was returned from this same function in a previous call with the syntaxindexInformation('info',TRUE,?). In addition, there is a parallelIndexInformationproperty that allows the function to be used with no database connection, or without forcing a call from client to server to retrieve information. The property value is set in the client SDO when it is initialized, so its value is always available on the client. You can use the value of theIndexInformationproperty as theINPUTpcIndexInfoparameter value to this function, in which case the function acts as a filtering and formatting mechanism to return to you just the information you need, in an appropriate format.dataLogicProcedure, dataLogicObject
Use these SDO functions to retrieve the name of the SDO’s logic procedure, or its procedure handle, respectively.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |